

import matplotlib.pyplot as plt
stocker = []
with open("20221101.csv") as f:
    for line in f:

        bid = line.split(",")[3]
        if bid == 'bid':
            continue
        stocker.append(float(bid))

plt.plot(stocker)
plt.ylabel('some numbers')
plt.show()


stocker = []
stocker_ask = []
with open("20221101.csv") as f:
    for line in f:

        bid = line.split(",")[3]
        ask = line.split(",")[5]
        if bid == 'bid':
            continue
        stocker.append(float(bid))
        stocker_ask.append(float(ask))

plt.plot(stocker, color='r', label='bid')
plt.plot(stocker_ask, color='g', label='ask')
plt.ylabel('sum(ticekr_px*ticker_vol)')
plt.legend()
plt.show()
